Image pickup apparatus, method for controlling the same, and program for obtaining position information and direction information

ABSTRACT

An image pickup apparatus includes a shooting unit, a control unit, and an association unit. The shooting unit performs a plurality of shooting operations and obtain a plurality of images. The control unit acquires position information and acquire direction information. The association unit associates the direction information and the position information with the plurality of images. The control unit controls the shooting unit to perform a single shooting operation and a continuous shooting operation selectively. The position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of U.S. application Ser. No. 13/707,402, filed Dec. 6, 2012, which claims the benefit of International Patent Application No. PCT/JP2011/078426, filed Dec. 8, 2011, which are hereby incorporated by reference herein in their entireties.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an image pickup apparatus which can obtain position information and direction information.

Description of the Related Art

Recently, using digital cameras provided with an accessory, such as a GPS (Global Positioning System) receiver or an electronic compass, for example, position information indicating a shooting position and direction information indicating a shooting direction are added to picked-up images. These kinds of information can be obtained by communicating with the accessory during shooting of an image. However, for example, in the case where multiple images are picked up in a short time period as in a continuous shooting operation, the load on a controller is heavy compared with the case where one image is picked up as in a single shooting operation. Therefore, it is not desirable to perform a process which increases the load, such as communication with an accessory, during a continuous shooting operation.

For example, in PTL 1, the load during a continuous shooting operation is reduced by stopping measurement of a position using the GPS during the continuous shooting operation.

CITATION LIST

Patent Literature

PTL 1 Japanese Patent Laid-Open No. 11-282076

However, in the method described above, no consideration is given to information in which a relatively large change may occur even in a short time period during a continuous shooting operation. For example, direction information is likely to change compared with position information. Accordingly, it is desirable to obtain direction information for each of the frames even in a continuous shooting operation.

It is an object of the present invention to adequately control acquisition of information that is to be added to images obtained in a continuous shooting operation while the load on a controller is reduced in the continuous shooting operation.

SUMMARY OF THE INVENTION

According to an aspect of the present invention, an image pickup apparatus includes a shooting unit configured to perform a plurality of shooting operations and obtain a plurality of images, a control unit configured to acquire position information and acquire direction information, and an association unit configured to associate the direction information and the position information with the plurality of images, wherein the control unit controls the shooting unit to perform a single shooting operation and a continuous shooting operation selectively, and wherein the position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation.

Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating the entire image pickup system according to a first embodiment.

FIG. 2 is a conceptual diagram illustrating system operations in continuous shooting according to the first embodiment.

FIG. 3 is a flowchart describing operations of a digital camera in shooting according to the first embodiment.

FIG. 4 is a flowchart describing operations of a digital camera in shooting according to a second embodiment.

FIG. 5 is a conceptual diagram illustrating system operations in continuous shooting according to the second embodiment.

FIG. 6 is a conceptual diagram illustrating system operations in continuous shooting according to another embodiment.

DESCRIPTION OF THE EMBODIMENTS

Embodiments for embodying the present invention will be described in detail below by using the accompanying drawings.

The embodiments described below are examples as means for achieving the present invention. Modifications or changes may be made as appropriate in accordance with the configuration or various conditions of an apparatus to which the present invention is applied. The embodiments may be combined with one another as appropriate.

First Embodiment

FIG. 1 illustrates the configuration of an image pickup system according to the present embodiment. The image pickup system according to the present embodiment includes a digital camera 100 as an exemplary image pickup apparatus and a GPS accessory 120 as an exemplary external apparatus. Herein, description is made taking a digital camera as an example of an image pickup apparatus. However, an image pickup apparatus is not limited to this. For example, an image pickup apparatus may be, for example, a cellular phone with a camera or a tablet device with a camera.

First, the digital camera 100 will be described.

A controller 101 controls the units of the digital camera 100 in accordance with input signals or programs described below. Instead of the controller 101 controlling the entire apparatus, multiple pieces of hardware may share processes so as to control the entire apparatus.

An image pickup unit 102 performs an image pickup process. The image pickup process is a process in which object light with which an image is formed by a lens included in the image pickup unit 102 is converted into an electric signal which is subjected to, for example, a noise reduction process so that digital data is output as image data. After being stored in a buffer memory, the picked-up image data is subjected to predetermined computation by the controller 101, and is recorded on a recording medium 110. The digital camera 100 according to the present embodiment is provided with the following modes: a single shooting mode in which the image pickup process is performed only once upon reception of a shooting instruction, and a continuous shooting mode in which the image pickup process is performed repeatedly and continuously upon reception of a shooting instruction. In the continuous shooting mode, while a SW2 in a release switch included in an operation unit 105 described below is ON, the image pickup process is repeatedly and continuously performed at certain intervals. Before reception of a shooting instruction, a user may set in advance which mode is to be used to perform the image pickup process.

A nonvolatile memory 103 is an electrically removable and recordable nonvolatile memory, and stores, for example, programs described below which are executed by the controller 101.

A work memory 104 is used as, for example, a buffer memory which temporarily stores image data picked up by the image pickup unit 102, a memory for a display unit 106 which is used for displaying an image, and a work area for the controller 101.

The operation unit 105 is used to receive, from a user, an instruction which is given to the digital camera 100 by the user. The operation unit 105 includes operation components, such as a power button with which a user instructs that the power of the digital camera 100 be turned ON/OFF, a release switch with which a user instructs that the image pickup process be performed, and a playback button with which a user instructs that image data be played back. The release switch has a SW1 and the SW2. When the release switch enters a so-called half press state, the SW1 is turned ON. In this state, an instruction to perform a shooting preparation operation, such as an AF (autofocus) process, an AE (autoexposure) process, an AWB (auto white balance) process, or an EF (pre-flash) process, is received. When the release switch enters a so-called full press state, the SW2 is turned ON. In this state, an instruction to perform the image pickup process is received.

The display unit 106 displays, for example, a viewfinder image in a shooting operation, picked-up image data, and characters for an interactive operation. The display unit 106 is not necessarily provided for the digital camera 100. At least the digital camera 100 may be connected to the display unit 106 and have a display control function for controlling the display of the display unit 106.

On the recording medium 110, image data which is output from the image pickup unit 102, and position information and direction information which are obtained via a connection unit 111 described below can be recorded. The recording medium 110 may be removable from the digital camera 100, or may be integrated in the digital camera 100. That is, the digital camera 100 may have at least means for accessing the recording medium 110.

The connection unit 111 is one for communicating with an external apparatus. The digital camera 100 can receive/transmit data from/to an external apparatus via the connection unit 111. In the present embodiment, the connection unit 111 is an accessory shoe provided for the digital camera 100. The digital camera 100 can be connected with a connection unit 127 of the GPS accessory 120 described below, via the accessory shoe. The controller 101 communicates with the GPS accessory 120 via the accessory shoe. For example, the digital camera 100 can transmit a request for position information and direction information to the GPS accessory 120, and can receive position information and direction information which are transmitted from the GPS accessory 120. In the present embodiment, description is made in which the connection unit 111 serves as an accessory shoe, and in which the digital camera 100 and the GPS accessory 120 receive/transmit data through communication via the accessory shoe. However, the communication between the digital camera 100 and the GPS accessory 120 is not limited to this. For example, the digital camera 100 and the GPS accessory 120 may communicate with each other via a USB cable or through wireless communication.

The digital camera 100 is described above.

The GPS accessory 120 will be described below.

A controller 121 controls the units in the GPS accessory 120 in accordance with input signals and programs described below. Instead of the controller 121 controlling the entire apparatus, multiple pieces of hardware may share processes so as to control the entire apparatus.

An operation unit 122 is used to receive instructions about operations and settings of the GPS accessory 120, from a user. The operation unit 122 includes, for example, a power supply switch for switching between ON and OFF for the power supply of the GPS accessory 120.

A nonvolatile memory 123 stores programs (firmware) for controlling the units of the GPS accessory 120, and various kinds of setting information. The nonvolatile memory 123 also stores programs with which the controller 121 controls processes illustrated in flowcharts described below.

A work memory 124 is a memory for developing and executing the programs stored in the nonvolatile memory 123. The work memory 124 is used as a work area for the controller 121.

A direction acquisition unit 125 detects the direction of the GPS accessory 120, and outputs the direction information. This process is an exemplary direction acquisition process. The direction acquisition unit 125 includes, for example, an electronic compass. An electronic compass is also called a magnetic field sensor, a direction sensor, or the like, and devices which can detect earth magnetism are collectively called an electronic compass. An electronic compass can detect the earth magnetism two-dimensionally or three-dimensionally, and detect the direction of the electronic compass device itself with respect to the earth magnetism. The direction information is regularly obtained and recorded in the work memory 124. When direction information is already recorded in the work memory 124, it is overwritten with newly obtained direction information. Such a process causes the work memory 124 to store the latest direction information constantly. The direction acquisition unit 125 includes an acceleration sensor. The direction acquisition unit 125 may include a motion detection sensor, such as a gyro sensor, or a combination of an electronic compass and a motion detection sensor. Direction information acquired by the direction acquisition unit 125 can be transmitted to the digital camera 100 in accordance with the control by the controller 121.

A position acquisition unit 126 performs a positioning process. The positioning process is a process in which a signal is received from a GPS satellite and in which position information indicating a position of the GPS accessory 120 is obtained from the received signal. The position information acquired by the position acquisition unit 126 can be transmitted to the digital camera 100 in accordance with the control by the controller 121. The transmitted position information is associated with image data picked up by the digital camera 100, as a shooting position. In the present embodiment, the position information is represented by coordinates of the latitude and longitude. The position information is regularly obtained, and is recorded in the work memory 124. When position information is already recorded in the work memory 124, it is overwritten by newly obtained position information. Such a process causes the work memory 124 to store the latest position information constantly. The position acquisition unit 126 may include, for example, a combination of an acceleration sensor and the GPS, or an apparatus for obtaining position information from an external apparatus or the like, such as a base station for a cellular phone.

The connection unit 127 is a connection unit which can be connected with the connection unit 111 provided for the digital camera 100. The GPS accessory 120 can communicate with the digital camera 100 by connecting the connection unit 127 with the connection unit 111.

The GPS accessory 120 is described above.

An overview will be described for a process of adding position information and direction information to an image in the above-described system while a continuous shooting operation is performed. FIG. 2 illustrates an example of how to obtain information when the digital camera 100 which communicates with the GPS accessory 120 via the accessory shoe is to add position information and direction information to images obtained through a continuous shooting operation.

FIG. 2 illustrates an example in which six images are picked up in the continuous shooting operation. In this example, the state of the continuous shooting operation in the digital camera 100, information obtained from the GPS accessory 120 at each shooting, and its timing are illustrated. The time axis runs from left to right.

After the SW1 is turned ON, the digital camera 100 regularly obtains position information and direction information until the SW2 is turned ON. Specifically, the digital camera 100 regularly transmits a request to obtain position information and a request to obtain direction information to the GPS accessory 120. The GPS accessory 120 which receives these requests transmits the latest position information and the latest direction information which are stored in the work memory 124 to the digital camera 100 as a response. The position information or the direction information which is received from the GPS accessory 120 is stored in the work memory 104 of the digital camera 100. When position information or direction information is already stored in the work memory 104, it is overwritten with the newly obtained information. Thus, in a time period after the SW1 is turned ON and before the SW2 is turned ON, the latest position information and the latest direction information are constantly stored in the work memory 104.

When the SW2 is turned ON, the continuous shooting operation starts. As described above, the image pickup processes in the continuous shooting operation according to the present embodiment are performed at certain intervals. During the continuous shooting operation according to the present embodiment, position information and direction information are not regularly obtained. Instead, the digital camera 100 according to the present embodiment obtains direction information from the GPS accessory 120 in a time period between the image pickup processes.

Referring to FIG. 2, the addition of direction information will be described. In the example in FIG. 2, direction information B obtained just before the continuous shooting operation starts is added to the first image obtained through the first image pickup process. In a time period after the first image is output and before the second image pickup process starts, the digital camera 100 transmits a request to obtain direction information to the GPS accessory 120, and the GPS accessory 120 transmits the latest direction information to the digital camera 100 as a response. Direction information C thus obtained is to be added to the second image which is to be obtained next. In the continuous shooting operation according to the present embodiment, the above-described procedure for the second image pickup process is repeated in the second and subsequent image pickup processes until the SW2 is turned OFF. In the example in FIG. 2, after the sixth image is picked up, the SW2 is turned OFF, and the continuous shooting operation is determined to be completed. The pieces of direction information B to G, each of which is obtained just before a corresponding image pickup process, are added to respective images obtained in the continuous shooting operation.

The addition of position information will be described. Position information is not obtained from the GPS accessory 120 during the continuous shooting operation, and the position information obtained just before the continuous shooting operation starts is used. That is, the digital camera 100 according to the present embodiment adds position information B obtained just before the SW2 is turned ON, as common information to each of the images obtained in the continuous shooting operation.

The process is described which is performed in the case where the digital camera 100 according to the present embodiment communicates with the GPS accessory 120 via the accessory shoe in the continuous shooting operation. Generally, since continuous shooting is performed in a short time period in the continuous shooting operation, the load on the controller 101 is heavy. Therefore, the load on the controller 101 is desirably to be lightened as much as possible by skipping acquisition of information which can be skipped in the continuous shooting operation.

Therefore, in the continuous shooting operation according to the present embodiment, direction information among direction information and position information is obtained as described above, while position information is not obtained. Specifically, according to the present embodiment, the digital camera 100 obtains direction information among direction information and position information, and does not obtain position information, in the continuous shooting operation.

In general, even in a short time period as in the continuous shooting operation, a change in direction information is likely to be relatively large, for example, when images of a moving object are picked up. Thus, even in a short time period as in the continuous shooting operation, it is desirable to obtain direction information for each of the frames in the continuous shooting operation. Accordingly, in the present embodiment, direction information is obtained for each of the image pickup processes in the continuous shooting operation, from the GPS accessory 120.

In contrast, in a short time period as in the continuous shooting operation, a change in the position information is relatively small. This is because a user is unlikely to move a large distance while pressing the release switch, and the latitude, the longitude, and the like are likely not to change markedly. That is, in a short time period as in the continuous shooting operation, even when the shooting positions for the images obtained through the image pickup processes are regarded as the same, a problem to occur is likely to be minor. Therefore, the position information is not obtained for each of the image pickup processes in the continuous shooting operation, from the GPS accessory 120. The position information obtained just before the continuous shooting operation according to the present embodiment starts is added to each of the images obtained in the continuous shooting operation, as common position information.

Thus, when the digital camera 100 according to the present embodiment communicates with the GPS accessory 120 via the accessory shoe, the digital camera 100 obtains direction information among position information and direction information in each of the shooting operations, and does not obtain position information, in the continuous shooting operation. This achieves compatibility between a reduction in the load on the controller during the continuous shooting operation and adequate control of acquisition of information that is to be added to the images obtained in the continuous shooting operation.

Operations of the digital camera 100 in shooting will be described. FIG. 3 is a flowchart describing the operations of the digital camera 100 in shooting. The processes illustrated in the flowchart are performed in such a manner that the controller 101 of the digital camera 100 connected with the GPS accessory 120 executes programs recorded in the nonvolatile memory 103 and controls the units of the digital camera 100 according to the programs. In addition, the procedure illustrated in the flowchart is started in response to detection of the SW1 being turned ON. The subsequent flowcharts are similar to this flowchart in terms of the above-described description.

First, the controller 101 performs a shooting preparation operation in step S301. Specifically, the controller 101 performs operations, such as an AF (autofocus) process, an AE (autoexposure) process, an AWB (auto white balance) process, and an EF (pre-flash) process. The process in this step is performed in parallel with the processes in steps S302 to S304 as described below.

In step S302, the controller 101 obtains position information and direction information from the GPS accessory 120. Specifically, the digital camera 100 regularly transmits a request to obtain position information and a request to obtain direction information, to the GPS accessory 120. The GPS accessory 120 which receives these requests transmits the latest position information and the latest direction information which are stored in the work memory 124, as a response to the digital camera 100. The position information and the direction information received from the GPS accessory 120 are temporarily stored in the work memory 104. If position information and direction information are already stored in the work memory 104, they are overwritten with the position information and the direction information which are newly obtained, respectively.

In step S303, the controller 101 determines whether the SW2 is ON or OFF. If the controller 101 determines that the SW2 is OFF, the process proceeds to step S304.

In step S304, the controller 101 determines whether the SW1 is ON or OFF. If the controller 101 determines that the SW1 is OFF, the process is ended. If the controller 101 determines that the SW1 is ON, the process returns back to step S302, and the controller 101 obtains position information and direction information again. The position information and the direction information which are again obtained are stored in the work memory 104. If position information and direction information are already stored in the work memory 104, they are overwritten with the position information and the direction information which are newly obtained, respectively. That is, while the SW1 is ON and the SW2 is OFF, position information and direction information are repeatedly obtained, and the latest position information and the latest direction information are constantly stored. In other words, while a user half-presses the release switch, position information and direction information are repeatedly obtained, and the latest position information and the latest direction information are constantly stored.

In step S303, if the controller 101 determines that the SW2 is ON, the process proceeds to step S305. In step S305, the controller 101 performs an image pickup process by using the image pickup unit 102, and obtains an image.

In step S306, the controller 101 associates the position information and the direction information, which are stored in the work memory 104, with the image obtained in step S305, and records them on the recording medium 110. The position information and the direction information which are associated with the image obtained through the first image pickup process among the image pickup processes in the continuous shooting operation are those which are obtained in step S302. This process corresponds to a process of adding the position information B and the direction information B to the first image in the example of FIG. 2.

In step S307, the controller 101 determines whether the SW2 is OFF or ON. If the controller 101 determines that the SW2 is OFF, the shooting is determined to be completed, and the process is ended. If the controller 101 determines that the SW2 is ON, the process proceeds to step S308.

In step S308, the controller 101 determines whether the mode is the continuous shooting mode or the single shooting mode. If the controller 101 determines that the mode is not the continuous shooting mode, the process is ended. If the controller 101 determines that the mode is the continuous shooting mode, the process proceeds to step S309.

In step S309, the controller 101 obtains direction information from the GPS accessory 120 and does not obtain position information. Specifically, the digital camera 100 transmits a request to obtain direction information. The GPS accessory 120 which receives the request for direction information transmits the latest direction information stored in the work memory 124, as a response to the digital camera 100. The direction information received from the GPS accessory 120 is temporarily stored in the work memory 104. If direction information is already stored in the work memory 104, it is overwritten with the newly obtained direction information. Since position information is not obtained from the GPS accessory 120, the position information obtained in step S302 is still stored in the work memory 104. The process in this step corresponds to a process of obtaining the direction information C in the time period between the shooting of the first image and the shooting of the second image in the example in FIG. 2.

After that, the process proceeds to step S305, and an image pickup process is performed for the second image. In step S306, the position information and the direction information which are stored in the work memory 104 are associated with the image obtained in the second execution of step S305, and are recorded on the recording medium 110. The position information and the direction information which are associated with the second image are the position information obtained in step S302 and the direction information obtained in step S309. The process in this step corresponds to a process of adding the position information B and the direction information C to the second image in the example of FIG. 2.

During the continuous shooting operation, the controller 101 repeatedly performs steps S305 to S309. That is, during the continuous shooting operation, the controller 101 does not perform step S302, and performs step S309 for each of the image pickup processes. That is, in the image pickup processes according to the present embodiment which are continuously performed, direction information is obtained for each of the image pickup processes, and position information is not obtained for each of the image pickup processes. Accordingly, the position information which is obtained just before the continuous shooting operation is still stored during the continuous shooting operation. Therefore, the position information obtained in step S302 is added to the images obtained in the image pickup processes in the continuous shooting operation, as common information. In contrast, direction information is newly obtained for each of the image pickup processes in the continuous shooting operation. Therefore, direction information obtained in step S309 in each cycle is added to a corresponding one of the images obtained in the second and subsequent image pickup processes among the images obtained in the image pickup processes in the continuous shooting operation.

Through communication via the accessory shoe, the GPS accessory 120 transmits position information and direction information to the digital camera 100 in response to a request from the digital camera 100. The GPS accessory 120 regularly detects position information and direction information regardless of the operation of the digital camera 100. This operation does not depend on whether the digital camera 100 operates in the continuous shooting mode or the single shooting mode. That is, even when the digital camera 100 operates in the continuous shooting mode, the operation of the GPS accessory 120 is similar to that in the single shooting mode.

In the present embodiment as described above, in a continuous shooting operation, position information among position information and direction information is not obtained, while direction information is obtained. This achieves compatibility between a reduction in the load on the controller during the continuous shooting operation and adequate control of acquisition of information that is to be added to images obtained in the continuous shooting operation.

Second Embodiment

According to the embodiment described above, position information obtained just before the continuous shooting operation is added to images obtained in the continuous shooting operation, as common information. In contrast, according to the present embodiment, information obtained just after the continuous shooting operation is also used to add more adequate position information to images obtained in the continuous shooting operation.

A large part of the present embodiment is common to the first embodiment. Accordingly, the common part is not described, and a part peculiar to the present embodiment will be mainly described.

FIG. 4 is a flowchart describing operations of the digital camera 100 in shooting according to the present embodiment.

In steps S401 to S406, the controller 101 performs operations similar to those in steps S301 to step S306 in FIG. 3.

In step S407, the controller 101 determines whether the SW2 is OFF or ON. If the controller 101 determines that the SW2 is ON, the process proceeds to step S408. In steps S408 and S409, the controller 101 performs processes similar to those in steps S308 and S309 in FIG. 3. In contrast, if the controller 101 determines that the SW2 is OFF, the continuous shooting operation is determined to be completed, and the process proceeds to step S410.

In step S410, similarly to step S402, position information is obtained from the GPS accessory 120. The process in this step is a process of obtaining position information just after the continuous shooting operation.

In step S411, the controller 101 associates the position information obtained in step S410 with the images obtained in the latter half of the continuous shooting operation among the images obtained in step S405. Specifically, the images obtained in the latter half of the continuous shooting operation are read out from the images stored in the recording medium 110 in step S406, and the position information which is obtained in step S402 and which is already associated with the read-out images is overwritten with the position information obtained in step S410. Then, the read-out images are stored in the recording medium 110 again. After that, the process is ended. Thus, the position information whose acquisition timing is likely to be closer to the acquisition timings of the images picked up in the latter half of the continuous shooting operation is added to the images. FIG. 5 illustrates an example describing this. FIG. 5 is a diagram illustrating an example of continuous shooting of six images in the continuous shooting operation as in FIG. 2. In the example in FIG. 5, in the final state, the position information B obtained just before the continuous shooting operation is added to the first to third images obtained in the first half of the continuous shooting operation, while position information C obtained just after the continuous shooting operation is added to the fourth to sixth images obtained in the latter half of the continuous shooting operation.

The operations of the digital camera 100 according to the present embodiment are described above. In general, in a short time period as in the continuous shooting operation, it is highly possible that a change in the position information is relatively small. Therefore, it is likely that adequate precision is achieved using pieces of position information obtained before and after the continuous shooting operation, without obtaining position information for each of the image pickup processes. Thus, the digital camera 100 according to the present embodiment has a configuration in which, as described above, the position information obtained just before the continuous shooting operation is added to the images obtained in the first half of the continuous shooting operation, and in which the position information obtained just after the continuous shooting operation is added to the images obtained in the latter half of the continuous shooting operation. This configuration enables more natural position information to be added to images even when the camera moves during the continuous shooting operation.

Other Embodiments

In the embodiments described above, the system is described in which the digital camera 100 and the GPS accessory 120 are connected with each other. The system may have a configuration in which the digital camera 100 includes the function of the GPS accessory 120 and in which only the digital camera 100 performs the above-described operations.

The embodiments described above have a configuration in which the direction information to be added to each of the images obtained in the image pickup processes in the continuous shooting operation is obtained before a corresponding one of the image pickup processes. A configuration may be employed in which the direction information to be added to the image obtained in each of the image pickup processes in the continuous shooting operation is obtained after the image pickup process. For example, using the example in FIG. 5, the direction information C may be added to the first image, and the direction information D may be added to the second image. Subsequently, similar to the above-described operation, direction information H may be obtained after the image pickup process for the sixth image, and may be added to the sixth image.

In the embodiment described above, a configuration is described in which position information added to the images obtained in the continuous shooting operation is either the position information obtained before the continuous shooting operation starts or the position information obtained after the continuous shooting operation is completed. Information obtained from the position information obtained before the continuous shooting operation starts and the position information obtained after the continuous shooting operation is completed may be added to the images. For example, points may be obtained by dividing a straight line that connects a position indicated by the position information obtained before the continuous shooting operation starts with a position indicated by the position information obtained after the continuous shooting operation is completed, into equal parts, the number of which is equal to the number of images obtained in the continuous shooting operation. Each of these points may be added to a corresponding one of the images obtained in the continuous shooting operation. Specifically, position information for the nth image among the N images obtained in the continuous shooting operation is determined by using the expression A+(B−A)*(n−1)/(N−1), where A represents position information obtained before the continuous shooting operation starts, and B represents position information obtained after the continuous shooting operation is completed. The determined position information is added to the nth image. The position information is represented by the latitude and longitude, and the latitude value or the longitude value is used in the above-described expression. For example, in step S411 in FIG. 4, instead of the position information obtained in step S410, the controller 101 adds pieces of position information obtained through the above-described calculation to the images obtained in the continuous shooting operation. FIG. 6 is a conceptual diagram for explaining this. In this example, pieces of position information obtained through the above-described calculation are added to the six respective images picked up in the continuous shooting operation. Thus, more natural position information can be added to the images even when the camera moves during the continuous shooting operation.

According to the embodiments described above, a configuration is described in which position information among position information and direction information is not obtained in the continuous shooting operation. A configuration may be employed in which position information is obtained every time a certain number of image pickup processes are performed, and in which the newly obtained position information is added to the images obtained in the subsequent image pickup processes. This configuration achieves compatibility between a reduction in the load on the controller during the continuous shooting operation and addition of more adequate position information to the images.

The above-described embodiments are also achieved by supplying software (programs) that achieves the function of the above-described embodiments to a system or an apparatus via a network or various recording media, and reading out and executing the programs by a computer (or a CPU, a MPU, or the like) in the system or the apparatus.

The present invention can achieve compatibility between a reduction in the load on a controller during a continuous shooting operation and adequate control of acquisition of information that is to be added to images obtained in the continuous shooting operation.

While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions. 

What is claimed is:
 1. An image pickup apparatus comprising: at least one processor coupled to a memory; an operation unit; and a shooting unit, wherein the processor receives an instruction from a user via the operation unit, performs a plurality of shooting operations, and obtains a plurality of images by using the shooting unit, wherein the processor acquires position information and acquires direction information, wherein the processor associates the direction information and the position information with the plurality of images, wherein the processor controls the shooting unit to perform a single shooting operation and a continuous shooting operation selectively, wherein the position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation, wherein the processor performs a shooting preparation operation for obtaining images using the shooting unit, and wherein the processor acquires the direction information during a time period after the processor receives an instruction to perform the shooting preparation operation and before the processor receives an instruction to perform the plurality of shooting operations.
 2. The image pickup apparatus according to claim 1, wherein the processor acquires position information in parallel with the shooting preparation operation.
 3. The image pickup apparatus according to claim 1, wherein the processor associates direction information obtained just before or just after each of the plurality of shooting operations with a corresponding one of the plurality of images obtained by using the shooting unit.
 4. The image pickup apparatus according to claim 1, wherein the processor acquires position information after all of the plurality of shooting operations are completed or before the plurality of shooting operations are started, and wherein the processor associates the position information acquired after all of the plurality of shooting operations are completed or before the plurality of shooting operations are started, with the plurality of images obtained in the plurality of shooting operations, as common position information.
 5. The image pickup apparatus according to claim 1, wherein the processor acquires the position information from an external apparatus, and wherein the processor acquires the direction information from an external apparatus.
 6. The image pickup apparatus according to claim 1, further comprising: a position detection unit; and a direction detection unit, wherein the processor acquires the position information from the position detection unit, and wherein the processor acquires the direction information from the direction detection unit.
 7. An image pickup apparatus comprising: at least one processor coupled to a memory; an operation unit; and a shooting unit, wherein the processor receives an instruction from a user via the operation unit, performs a plurality of shooting operations, and obtains a plurality of images by using the shooting unit, wherein the processor acquires position information and acquires direction information, wherein the processor associates the direction information and the position information with the plurality of images, wherein the processor controls the shooting unit to perform a single shooting operation and a continuous shooting operation selectively, wherein the position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation, wherein the processor performs a shooting preparation operation for obtaining images using the shooting unit, and wherein the processor acquires the position information during a time period after the processor receives an instruction to perform the shooting preparation operation and before the processor receives an instruction to perform the plurality of shooting operations.
 8. The image pickup apparatus according to claim 7, wherein the processor acquires position information in parallel with the shooting preparation operation.
 9. The image pickup apparatus according to claim 7, wherein the processor associates direction information obtained just before or just after each of the plurality of shooting operations with a corresponding one of the plurality of images obtained by using the shooting unit.
 10. The image pickup apparatus according to claim 7, wherein the processor acquires position information after all of the plurality of shooting operations are completed or before the plurality of shooting operations are started, and wherein the processor associates the position information acquired after all of the plurality of shooting operations are completed or before the plurality of shooting operations are started, with the plurality of images obtained in the plurality of shooting operations, as common position information.
 11. The image pickup apparatus according to claim 7, wherein the processor acquires the position information from an external apparatus, and wherein the processor acquires the direction information from an external apparatus.
 12. The image pickup apparatus according to claim 7, further comprising: a position detection unit; and a direction detection unit, wherein the processor acquires the position information from the position detection unit, and wherein the processor acquires the direction information from the direction detection unit.
 13. The image pickup apparatus according to claim 7, wherein the processor associates latest position information with the plurality of images obtained in the plurality of shooting operations performed by the shooting unit, as common position information, and wherein the latest position information is among pieces of position information that are regularly acquired by the control unit.
 14. A method for controlling an image pickup apparatus having a shooting unit, the method comprising: receiving an instruction from a user, via the shooting unit, performing a plurality of shooting operations and obtaining a plurality of images; acquiring position information and acquiring direction information; and associating the direction information and the position information with the plurality of images, wherein acquiring includes controlling the shooting unit to perform a single shooting operation and a continuous shooting operation selectively, wherein the position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation, wherein the shooting unit performs a shooting preparation operation for obtaining images, and wherein acquiring includes acquiring the position information during a time period after receiving an instruction to perform the shooting preparation operation and before receiving an instruction to perform the plurality of shooting operations.
 15. A method for controlling an image pickup apparatus having a shooting unit, the method comprising: receiving an instruction from a user, via the shooting unit, performing a plurality of shooting operations and obtaining a plurality of images; acquiring position information and acquiring direction information; and associating the direction information and the position information with the plurality of images, wherein acquiring includes controlling the shooting unit to perform a single shooting operation and a continuous shooting operation selectively, wherein the position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation, wherein the shooting unit performs a shooting preparation operation for obtaining images, and wherein acquiring includes acquiring the direction information during a time period after receiving an instruction to perform the shooting preparation operation and before receiving an instruction to perform the plurality of shooting operations.
 16. A non-transitory computer-readable storage medium storing a control program to execute a method for controlling an image pickup apparatus having a shooting unit, the method comprising: receiving an instruction from a user, via the shooting unit, performing a plurality of shooting operations and obtaining a plurality of images; acquiring position information and acquiring direction information; and associating the direction information and the position information with the plurality of images, wherein acquiring includes controlling the shooting unit to perform a single shooting operation and a continuous shooting operation selectively, wherein the position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation, wherein the shooting unit performs a shooting preparation operation for obtaining images, and wherein acquiring includes acquiring the position information during a time period after receiving an instruction to perform the shooting preparation operation and before receiving an instruction to perform the plurality of shooting operations.
 17. A non-transitory computer-readable storage medium storing a control program to execute a method for controlling an image pickup apparatus having a shooting unit, the method comprising: receiving an instruction from a user, via the shooting unit, performing a plurality of shooting operations and obtaining a plurality of images; acquiring position information and acquiring direction information; and associating the direction information and the position information with the plurality of images, wherein acquiring includes controlling the shooting unit to perform a single shooting operation and a continuous shooting operation selectively, wherein the position information associated with each of the plurality of images obtained in the continuous shooting operation is the same position information, and the direction information associated with each of the plurality of images obtained in the continuous shooting operation is individual direction information in the continuous shooting operation, wherein the shooting unit performs a shooting preparation operation for obtaining images, and wherein acquiring includes acquiring the direction information during a time period after receiving an instruction to perform the shooting preparation operation and before receiving an instruction to perform the plurality of shooting operations. 